#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>

pthread_cond_t cond;
pthread_mutex_t lock;

void* fun_1(void* argv);
void* fun_2(void* argv);

int main(int argc,char* argv[]){
  pthread_mutex_init(&lock);

  pthread_t tid[2];

  pthread_create(&tid[0],NULL,fun_1,NULL);
  pthread_create(&tid[1],NULL,fun_2,NULL);


  pthread_join(tid[0],NULL);
  pthread_join(tid[1],NULL);
  pthread_exit(NULL);
}

void* fun_1(void* argv);
